
<script>
function getCheck(){
	var check = document.getElementsByTagName('input');
	var vals = [];
	var count = 0;
	var str = "";
	for(var i = 0; i < check.length; i++){
		if(check[i].type == 'checkbox' && check[i].checked==true){
			vals[count] = check[i].id + "";
			count++;
			str = str + check[i].id + ",";
		}
	}

	return str;
}

function checkAll(field)
{
	for each (var i in field){
		i.checked = true ;
		alert(i.checked);
	}
}
</script>

<?php
$this->breadcrumbs=array(
	'Danh sách ­ Order',
); 
?>
<?php 
$this->widget('zii.widgets.jui.CJuiTabs', array(
    'tabs'=>array(
		'Orders'=>$this->renderPartial('_orders',null,true),
        'Pendding'=>$this->renderPartial('_orderpendding',null,true),
        'Unlock'=>$this->renderPartial('_orderunlock',null,true),
        'Refund'=>$this->renderPartial('_orderrefund',null,true),
    ),
    'options'=>array(
        'collapsible'=>true,
        'selected'=>0,
    ),
    'htmlOptions'=>array(
        'style'=>'width:900px;margin:auto;',        
    ),
));
?>
